#ifndef HEROPLANE_H
#define HEROPLANE_H
#include<QPixmap>
#include<QRect>

class HeroPlane
{
public:
    HeroPlane();
    //发射子弹
    void shoot();
    //设置豌豆位置
    void setposition(int x,int y);

public:
    //豌豆资源 对象
    QPixmap m_Plane;
    //豌豆坐标
    int m_X;
    int m_Y;

    //豌豆的矩形边框
    QRect m_Rect;
};

#endif // HEROPLANE_H
